<input type="checkbox" ng-disabled="isDisabledVal(val)" ng-checked="val.value == 'true'" ng-change="setCustomDirty(val)"
       ng-model="val.value">